<div class="row full_width">

    <div class="large-2 columns nav__">
        <br />
        <ul class="side-nav nav_ panel">
            <li><h5>Action</h5></li>
            <li class="divider"></li>
            <li class=""><a href="<?php echo site_url('information/view_user/'.$user_id); ?>">Back</a></li>
            <li class=""><a href="<?php echo site_url('information/edit_user/'.$user_id); ?>">Change Information</a></li>
            <li class=""><a href="<?php echo site_url('information/logout'); ?>">Log-out</a></li>
        </ul>
    </div>
    <br />

    <div class="large-9 push-1 columns panel">
        <h5>Change Password - <?php echo $name; ?></h5>
        <hr />

        <div class="row">
            <div class="large-12 columns">
                <?php echo validation_errors(); ?>
            </div>
        </div>

        <?php echo form_open('information/edit_pass/'.$user_id, 'data-abide') ?>

        <div class="row">
            <div class="large-4 columns">
                <label class="inline" for="old">Old Password:</label>
            </div>
            <div class="large-5 columns">
                <input type="password" id="old" name="old_password" value="" required=""/>
                <small class="error">This is required.</small>
            </div>
            <div class="large-3 columns"></div>
        </div>

        <div class="row">
            <div class="large-4 columns">
                <label class="inline" for="new">New Password:</label>
            </div>
            <div class="large-5 columns">
                <input type="password" id="new" name="new_password" value="" required=""/>
                <small class="error">This is required.</small>
            </div>
            <div class="large-3 columns"></div>
        </div>

        <div class="row">
            <div class="large-4 columns">
                <label class="inline" for="re-new">Re-type new password:</label>
            </div>
            <div class="large-5 columns">
                <input type="password" id="re-new" name="re-new" value="" required="" data-equalto="new"/>
                <small class="error">Password does not match.</small>
            </div>
            <div class="large-3 columns"></div>
        </div>

        <input class="button" type="submit" name="submit" value="Edit" />

        </form>

    </div>

</div>